function [selectedRow, poleToAdd] = getPoleToAdd(main)

    selectedRow = getSelectedItem(main, 'list_remainingPoles');
           
    rPoles = get(main.handles.list_remainingPoles,'String');
    
    poleToAdd = str2num(rPoles{selectedRow});


end